﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Models.Common
{
    /// <summary>
    /// 当前账户
    /// </summary>
    public class CurrentAccount
    {
        /// <summary>
        /// 公司Id
        /// </summary>
        public long CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 公司版本
        /// </summary>
        public string CompanyVersion { get; set; }
        /// <summary>
        /// 公司版本到期时间
        /// </summary>
        public DateTime CompanyVersionExpiryTime {  get; set; }


        /// <summary>
        /// 员工Id
        /// </summary>
        public long EmployeeId { get; set; }
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmployeeName { get; set; }
        /// <summary>
        /// 员工手机号
        /// </summary>
        public string EmployeePhone {  get; set; }


        /// <summary>
        /// 是否最高管理员
        /// </summary>
        public bool EmployeeIsAdmin { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public List<long> EmployeeRoleIds { get; set; }
        /// <summary>
        /// 员工权限
        /// </summary>
        public List<string> EmployeePermissions { get; set; }
    }
}
